﻿using AutoMapper;
using Hospital.Model.DTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Hospital.Model.entity;

namespace Hospital.Utility.Mapper
{
    //AutoMapper对象映射配置
    public class CustomAutoMapperProfile : Profile
    {
        public CustomAutoMapperProfile()
        {
            base.CreateMap<UserInfo, UserInfoDTO>();
            base.CreateMap<Patient, PatientDTO>();
        }
    }
}
